﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QuanLyThuPhiTaiLieu.Entity;

namespace QuanLyThuPhiTaiLieu.Model
{
    public class Context : DbContext
    {
        public Context()
            : base("name=TaiLieuEntities")
        {
        }
        
        public DbSet<ThamKhaoTaiLieu> ThamKhaoTaiLieus { get; set; }
        public DbSet<KhaiThacVaSuDungTaiLieu> KhaiThacVaSuDungTaiLieus { get; set; }        
        public DbSet<NguoiSuDung> NguoiSuDungs { get; set; }
        public DbSet<Guest> Guests { get; set; }
        public DbSet<PhieuBanGiaoTaiLieu> PhieuBanGiaoTaiLieus { get; set; }
        public DbSet<PhieuBanGiaoTaiLieuChiTiet> PhieuBanGiaoTaiLieuChiTiets { get; set; }
        public DbSet<DanhMuc> DanhMucs { get; set; }
        public DbSet<DanhMucBoSung> DanhMucBoSungs { get; set; }
        public DbSet<DanhMucChiTiet> DanhMucChiTiets { get; set; }
        public DbSet<Attachment> Attachments { get; set; }
        
    }
}
